package com.ruoyi.material.service;

import com.ruoyi.material.domain.WarehouseStockRecord;

import java.util.List;


/**
 * 仓库库存变动Service接口
 *
 * @author wng
 * @date 2024-08-04
 */
public interface IWarehouseStockRecordService {
    /**
     * 查询仓库库存变动
     *
     * @param id 仓库库存变动主键
     * @return 仓库库存变动
     */
    public WarehouseStockRecord selectWarehouseStockRecordById(Long id);

    /**
     * 查询仓库库存变动列表
     *
     * @param warehouseStockRecord 仓库库存变动
     * @return 仓库库存变动集合
     */
    public List<WarehouseStockRecord> selectWarehouseStockRecordList(WarehouseStockRecord warehouseStockRecord);

    /**
     * 新增仓库库存变动
     *
     * @param warehouseStockRecord 仓库库存变动
     * @return 结果
     */
    public int insertWarehouseStockRecord(WarehouseStockRecord warehouseStockRecord);

    /**
     * 修改仓库库存变动
     *
     * @param warehouseStockRecord 仓库库存变动
     * @return 结果
     */
    public int updateWarehouseStockRecord(WarehouseStockRecord warehouseStockRecord);

    /**
     * 批量删除仓库库存变动
     *
     * @param ids 需要删除的仓库库存变动主键集合
     * @return 结果
     */
    public int deleteWarehouseStockRecordByIds(Long[] ids);

    /**
     * 删除仓库库存变动信息
     *
     * @param id 仓库库存变动主键
     * @return 结果
     */
    public int deleteWarehouseStockRecordById(Long id);
}
